home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1877 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: sdd.hp.com!inn
  2. From: Jeff Grimmett <jgrimm@sdd.hp.com>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: More linked list nonsense
  5. Date: 24 Jan 1996 16:42:57 GMT
  6. Organization: Hewlett-Packard Company
  7. Message-ID: <4e5nih$iib@news.sdd.hp.com>
  8. NNTP-Posting-Host: hpsdv330.sdd.hp.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
  13.  
  14.  
  15. Howdy,
  16.  
  17. It just occurred to me last night, as I pored over steaming code, that 
  18. the function Remove() (used to remove nodes from linked lists) might 
  19. POSSIBLY not be freeing the memory allocated to the node it is removing. 
  20. Does anyone have some insight on this?  It's difficult to deallocate a 
  21. node once it's not part of the list, but it's pretty STUPID to free it 
  22. BEFORE. :-)
  23.  
  24. It's also hard to imagine that C= gave us this function without some way 
  25. to clean up behind it, but I'm SUCH a Doubting Thomas at times... :-)
  26.  
  27. Any info appreciated.  Otherwise, I'm going to proceed on the assumtion 
  28. it's safe.  It appears to be.
  29.  
  30.  
  31.